package prison.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lex on 2017/3/11.
 */

public class LetterPushBean implements Serializable {
    /**
     * messagesList : [{"auditingAt":"2017-03-10 16:52:23","auditingId":1,"createdAt":"2017-03-10 16:52:21","id":1,"kinId":1,"message":"回家吃饭s","msId":1,"prisonerId":1,"queryEndAt":null,"remarks":"正在审核","status":0}]
     * pageMsg : {"page":1,"pageNum":10,"totalNum":1,"totalPage":1}
     */

    private PageMsgBean pageMsg;
    private List<MessagesListBean> messagesList;

    public PageMsgBean getPageMsg() {
        return pageMsg;
    }

    public void setPageMsg(PageMsgBean pageMsg) {
        this.pageMsg = pageMsg;
    }

    public List<MessagesListBean> getMessagesList() {
        return messagesList;
    }

    public void setMessagesList(List<MessagesListBean> messagesList) {
        this.messagesList = messagesList;
    }

    public static class PageMsgBean {
        @Override
        public String toString() {
            return "PageMsgBean{" +
                    "page=" + page +
                    ", pageNum=" + pageNum +
                    ", totalNum=" + totalNum +
                    ", totalPage=" + totalPage +
                    '}';
        }

        /**
         * page : 1
         * pageNum : 10
         * totalNum : 1
         * totalPage : 1
         */

        private int page;
        private int pageNum;
        private int totalNum;
        private int totalPage;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getTotalNum() {
            return totalNum;
        }

        public void setTotalNum(int totalNum) {
            this.totalNum = totalNum;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }
    }

    public static class MessagesListBean {

        /**
         * auditingAt : 2017-03-10 16:52:23
         * auditingId : 1
         * createdAt : 2017-03-10 16:52:21
         * id : 1
         * kinId : 1
         * message : 回家吃饭s
         * msId : 1
         * prisonerId : 1
         * queryEndAt : null
         * remarks : 正在审核
         * status : 0
         */

        private String auditingAt;
        private int auditingId;
        private String createdAt;
        private int id;
        private int kinId;
        private String message;
        private String prisonerName;
        private int msId;
        private int prisonerId;
        private Object queryEndAt;
        private String remarks;
        private int status;

        @Override
        public String toString() {
            return "MessagesListBean{" +
                    "auditingAt='" + auditingAt + '\'' +
                    ", auditingId=" + auditingId +
                    ", createdAt='" + createdAt + '\'' +
                    ", id=" + id +
                    ", kinId=" + kinId +
                    ", message='" + message + '\'' +
                    ", prisonerName='" + prisonerName + '\'' +
                    ", msId=" + msId +
                    ", prisonerId=" + prisonerId +
                    ", queryEndAt=" + queryEndAt +
                    ", remarks='" + remarks + '\'' +
                    ", status=" + status +
                    '}';
        }

        public String getPrisonerName() {
            return prisonerName;
        }

        public void setPrisonerName(String prisonerName) {
            this.prisonerName = prisonerName;
        }

        public String getAuditingAt() {
            return auditingAt;
        }

        public void setAuditingAt(String auditingAt) {
            this.auditingAt = auditingAt;
        }

        public int getAuditingId() {
            return auditingId;
        }

        public void setAuditingId(int auditingId) {
            this.auditingId = auditingId;
        }

        public String getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(String createdAt) {
            this.createdAt = createdAt;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getKinId() {
            return kinId;
        }

        public void setKinId(int kinId) {
            this.kinId = kinId;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getMsId() {
            return msId;
        }

        public void setMsId(int msId) {
            this.msId = msId;
        }

        public int getPrisonerId() {
            return prisonerId;
        }

        public void setPrisonerId(int prisonerId) {
            this.prisonerId = prisonerId;
        }

        public Object getQueryEndAt() {
            return queryEndAt;
        }

        public void setQueryEndAt(Object queryEndAt) {
            this.queryEndAt = queryEndAt;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

    @Override
    public String toString() {
        return "LetterPushBean{" +
                "pageMsg=" + pageMsg +
                ", messagesList=" + messagesList +
                '}';
    }
}
